<?php /* Smarty version 2.6.18, created on 2009-05-07 07:58:29
         compiled from ua-admin/helptype_edit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'ua-admin/helptype_edit.html', 27, false),array('function', 'html_radios', 'ua-admin/helptype_edit.html', 32, false),array('modifier', 'default', 'ua-admin/helptype_edit.html', 32, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body leftmargin="10" topmargin="10">
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide"><tr>
  <td><div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo; 网站助手&nbsp;&raquo; 编辑</div></td>
</tr></table>
      <form name="editfrm" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
">
        <input type="hidden" name="id" value="<?php echo $_GET['id']; ?>
">
        <table width="100%"  border="0" cellpadding="2" cellspacing="1" class="tableborder">
		<tr class="header">
		  <td colspan="6">帮助类别</td>
		</tr>
          <tr>
            <td align="center" class="altbg1">类别名称                            
            <td colspan="3" class="altbg2"><input name="helptype[ha]" type="Text" id="helptype[ha]" value="<?php echo $this->_tpl_vars['n']['HelptypeHa']; ?>
"></td>
          </tr>
          <tr>
            <td align="center" class="altbg1">上一级类别
            <td colspan="3" class="altbg2"><select name="helptype[hc]" id="parent_id">
                <option value="0">根目录</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['AllParents'],'selected' => $this->_tpl_vars['n']['HelptypeHc']), $this);?>

            </select></td>
          </tr>
          <tr>
            <td align="center" class="altbg1">是否有效 
            <td colspan="3" class="altbg2"><?php echo smarty_function_html_radios(array('name' => "helptype[hd]",'options' => $this->_tpl_vars['TypeStatus'],'checked' => ((is_array($_tmp=@$this->_tpl_vars['n']['HelptypeHd'])) ? $this->_run_mod_handler('default', true, $_tmp, '1') : smarty_modifier_default($_tmp, '1')),'separator' => ' '), $this);?>
</td>
          </tr>
          <tr>
            <td align="center" class="altbg1">简单描述 
            <td colspan="3" class="altbg2"><input name="helptype[hb]" type="text" id="content" value="<?php echo $this->_tpl_vars['n']['HelptypeHb']; ?>
"></td>
          </tr>
          <tr>
            <td colspan="4" align="center"><table border="0" cellpadding="5" cellspacing="0" class="button">
                <tr>
                  <td><input  name=save type=submit id="save" value="保存" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"/></td>
                  <td><input  name=reset type=reset id="reset" value="取消" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" /></td>
                </tr>
              </table>
          </tr>
        </table>
      </form></td></tr></table>
<br /><br />
</body>
</html>
